<template>
  <div>
    组件C: {{ $store.state.count }}
    <button @click="$store.commit('addN', 5)">点击+5</button>
  </div>
</template>

<script>
export default {
  data () {
    return {

    }
  },
  methods: {

  }
}
</script>

<style scoped>
</style>
